<h1>Services List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Ubicacion</th>
      <th>Representante</th>
      <th>Telefono</th>
      <th>Email</th>
      <th>Region</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($services as $service): ?>
    <tr>
      <td><a href="<?php echo url_for('Service/show?id='.$service->getId()) ?>"><?php echo $service->getId() ?></a></td>
      <td><?php echo $service->getUbicacion() ?></td>
      <td><?php echo $service->getRepresentante() ?></td>
      <td><?php echo $service->getTelefono() ?></td>
      <td><?php echo $service->getEmail() ?></td>
      <td><?php echo $service->getRegion() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Service/new') ?>">New</a>
